package com.cdks.wuxiu.api.service.mysql;

import com.baomidou.mybatisplus.extension.service.IService;
import com.cdks.wuxiu.entity.mysql.UserLoginInfo;

/**
 * 用户登录信息表 服务类
 */
public interface UserLoginInfoService extends IService<UserLoginInfo> {
    int insertLoginInfo(UserLoginInfo loginInfo);
    int updateLoginInfo(UserLoginInfo loginInfo);
    int updatePushToken(long userId, String token);
    int updatePushToken(long userId, String token, int status);

    UserLoginInfo getByUserId(long userId);
}
